package com.coolingme.work;

/**
 * 委派模式测试类
 *
 * @author wangyue
 * @date 2020/9/21 12:35
 */
public class Test {

    public static void main(String[] args) {
        Boos boos = new Boos();
        Leader leader = new Leader();
        boos.command(leader, "编程");
        System.out.println("-----------------");
        boos.command(leader, "设计");
        System.out.println("-----------------");
        boos.command(leader, "需求分析+数据库设计+后端+前端+运维");
    }

}
